package pro.shushi.pamirs.demo.api.model;

import pro.shushi.pamirs.meta.annotation.Field;
import pro.shushi.pamirs.meta.annotation.Model;
import pro.shushi.pamirs.meta.base.IdModel;


@Model.model(OrderContacts.MODEL_MODEL)
@Model(displayName = "订单联系人", labelFields = "name")
public class OrderContacts extends IdModel {

    private static final long serialVersionUID = -5104390780952631397L;

    public static final String MODEL_MODEL = "demo.OrderContacts";

    @Field.Integer
    @Field(displayName = "订单id", invisible = true)
    private Long orderId;

    @Field.String
    @Field(displayName = "联系人姓名")
    private String name;

    @Field.String
    @Field(displayName = "联系人电话")
    private String phone;

}
